import { getRequest } from '@/api/easyRequest'

export const List = function () {
    return getRequest('/product/list') as Promise<any>
}

//出货量前10

export const SalesChannelTop = function () {
    return getRequest(`/product/salesChannelTop10`) as Promise<any>
}

//销量前五
export const SaleTop = function () {
    return getRequest('/product/saleTop5') as Promise<any>
}

//产量前十
export const ProductionTop = function () {
    return getRequest(`/product/productionTop10`) as Promise<any>
}

//图片信息
export const ProductionImg = function () {
    return getRequest(`/productimg/list`) as Promise<any>
}
